<!-- Begin stats/users.tpl -->
<form method="post" action="?module=groups&action=stats&gid={$smarty.get.gid}&submit=true">
{opentable}
{titlebar colspan=2 title=$lg->stats}
<tr>{$year}
<td width="80%"><input type="submit" name="submit" class="button" align="left" value={$lg->OK} /></td>
</tr>
</table>
</form>
<br>
<div class="divhg"> 
  <fieldset>
  	<legend>{$rlg->times}</legend>
	<ol>
		<table width="100%"  style="border-collapse: collapse;" >
		    <tr align="center"> 
          		<td width="55%" ></td>
				<td width="15%" style="border:1px solid ;">M</td>
				<td width="15%" style="border:1px solid ;">M-1</td>
				<td width="15%" style="border:1px solid ;">YTD</td>
       		 </tr>
        	<tr>
          		<td style="border:1px solid;text-indent:3px;"> {$lg->dpec}</td>
				<td style="border:1px solid;" align="center">{$t_times.dpec.averg|string_format:"%.2f"}</td>
				<td style="border:1px solid;" align="center">{$t_times_mm1.dpec.averg|string_format:"%.2f"}</td>
				<td style="border:1px solid;" align="center">{$t_times_y2d.dpec.averg|string_format:"%.2f"}</td>
       		 </tr>
		      <tr>
          		<td style="border:1px solid;text-indent:3px;"> {$lg->dest}</td>
				<td style="border:1px solid;" align="center">{$t_times.dchif.averg|string_format:"%.2f"}</td>
				<td style="border:1px solid;" align="center">{$t_times_mm1.dchif.averg|string_format:"%.2f"}</td>
				<td style="border:1px solid;" align="center">{$t_times_y2d.dchif.averg|string_format:"%.2f"}</td>
       		 </tr>
		      <tr>
          		<td style="border:1px solid;text-indent:3px;"> {$lg->dvali_cust}</td>
				<td style="border:1px solid;" align="center">{$t_times.dclo.averg|string_format:"%.2f"}</td>
				<td style="border:1px solid;" align="center">{$t_times_mm1.dclo.averg|string_format:"%.2f"}</td>
				<td style="border:1px solid;" align="center">{$t_times_y2d.dclo.averg|string_format:"%.2f"}</td>
       		 </tr>
      		</table>
    </ol>
  </fieldset>
</div>
<div class="divhg"> 
  <fieldset>
  <legend><a href="?module=groups&action=stats_quant&gid={$smarty.get.gid}&submit=true&perio-low={$bdate}&perio-high={$edate}" >{$rlg->quant}</a></legend>
  <ol>
		<table width="100%" style="border-collapse: collapse;" >
		<tr align="center"> 
			<td width="55%" ></td>
			<td width="15%" style="border:1px solid ;">M</td>
			<td width="15%" style="border:1px solid ;">M-1</td>
			<td width="15%" style="border:1px solid ;">YTD</td>
		 </tr>
		<tr>
			<td style="border:1px solid;text-indent:3px;">{$rlg->nbnew}</td>
			<td style="border:1px solid;" align="center">{$t_volumes.open.numbr}</td>
			<td style="border:1px solid;" align="center">{$t_volumes_mm1.open.numbr}</td>
			<td style="border:1px solid;" align="center">{$t_volumes_y2d.open.numbr}</td>
		 </tr>
		 <tr>
			<td style="border:1px solid;text-indent:3px;">{$rlg->nb_tck_wrk}</td>
			<td style="border:1px solid;" align="center">{$t_volumes.swip.numbr}</td>
			<td style="border:1px solid;" align="center">{$t_volumes_mm1.swip.numbr}</td>
			<td style="border:1px solid;" align="center">{$t_volumes_y2d.swip.numbr}</td>
		 </tr>
		 <tr>
			<td style="border:1px solid;text-indent:3px;">{$rlg->resolved}</td>
			<td style="border:1px solid;" align="center">{$t_volumes.clos.numbr}</td>
			<td style="border:1px solid;" align="center">{$t_volumes_mm1.clos.numbr}</td>
			<td style="border:1px solid;" align="center">{$t_volumes_y2d.clos.numbr}</td>
		 </tr>
		 <tr>
			<td style="border:1px solid;text-indent:3px;">{$lg->nbevt}</td>
			<td style="border:1px solid;" align="center">{$t_volumes.evnt.avrg|string_format:"%.2f"}</td>
			<td style="border:1px solid;" align="center">{$t_volumes_mm1.evnt.avrg|string_format:"%.2f"}</td>
			<td style="border:1px solid;" align="center">{$t_volumes_y2d.evnt.avrg|string_format:"%.2f"}</td>
		 </tr>
		</table>
  </ol>
  </fieldset>
</div>
<br>
<div class="divhg"> 
  <fieldset>
  <legend>{$rlg->volum}</legend>
  <ol>
		<table width="100%" style="border-collapse: collapse;" >
		<tr align="center"> 
			<td></td>
			<td style="border:1px solid ;">M</td>
			<td style="border:1px solid ;">M-1</td>
			<td style="border:1px solid ;">YTD</td>
		 </tr>
		<tr>
			<td style="border:1px solid;text-indent:3px;">{$rlg->nbchg}</td>
			<td style="border:1px solid;" align="center">{$t_volumes.open.vendu|string_format:"%.2f"}</td>
			<td style="border:1px solid;" align="center">{$t_volumes_mm1.open.vendu|string_format:"%.2f"}</td>
			<td style="border:1px solid;" align="center">{$t_volumes_y2d.open.vendu|string_format:"%.2f"}</td>
		 </tr>
		 {if is_manager() or permission_check("view-tcost")}
		<tr>
			<td style="border:1px solid;text-indent:3px;">{$rlg->nbwrk}</td>
			<td style="border:1px solid;" align="center">{$t_volumes.open.real|string_format:"%.2f"}</td>
			<td style="border:1px solid;" align="center">{$t_volumes_mm1.open.real|string_format:"%.2f"}</td>
			<td style="border:1px solid;" align="center">{$t_volumes_y2d.open.real|string_format:"%.2f"}</td>
		 </tr>
		 {/if}
		</table>
  </ol>
  </fieldset>
</div>
<div class="divhg"> 
  <fieldset>
  <legend>{$rlg->repar}</legend>
  <ol>

  </ol>
  </fieldset>
</div>
<img src="{$url_g1}">

<!-- End stats/users.tpl -->